add javascript tests
delete unused files