Added grunt and fixed jslint issues.