Modified JS and removed innecessary files