adding javascript testing