Upgrade grunt dependency to 0.4.x
Reformat code.
Refactor helpers in functions,