fixes #1 set up grunt. wrapped src as CommonJS module