work on the js