Make npm package
Add node support and avoid jquery dependence
Add tests, clean code
Add travis file