switched to Grunt build system, added momentjs as dependency
added new option 'formatter' to provide custom formatting
added new line to the end of the files