removed some unused files and updated the js