Add grunt and compile to js for npm.