work on javascriptating