JavaScript code highlight

Fixed JavaScript code highlight and other things.
I'll just accept this PR and change it back on master.