Update: compile with function
Add: simpile grunt task for build