modify js file to access data form sever pushed