implement grunt task to generate optimized app