JavaScript code highlight

Fixed JavaScript code highlight and other things.
Don't think this is a correct change ;)