fixed up issue with grunt tasks for js