add javascript linting and unit tests to ci