started work on the js script