Edited app template to validate agains jshint