JavaScript code highlight

Fixed JavaScript code highlight and other things.