updates in the js scripts