methods inside object; grunt build