added rake tasks to run lint etc
corrected as per jslint suggestion