minor js test fix
Merge pull request #4799 from ivanov/minor-jstest

minor js test fix