javascript advantages