update javascriptEanbled