Wrap inside closure
Introduce Grunt for task automisation + configure JSHint