Remove unnecessary helper functions and add a Makefile for jslint