Fixes and added grunt build task.