added javascript test file