removed useless file and fixed errors detected with jslint