add javascript testing