fixing up views js
adding mocah grunt config