Gitignore.
Initial js class.
Add submodule for tests.
Add tests.