fixed @javascript decorator when in javascript-mode.
(the decorator is simply ignored because the code is already marked as in javascript-mode)