more tests and javascript