added test to Makefile, fixed jslint warning