synching the js file