Add grunt task for creating js modules