change the js format