added to Makefile
fixed jslint warnings