Fix timeout on js tests

If no 'count' param was passed in the timeout would be set to NaN. Luckily this only happens when we run our tests in AUTOJSTEST mode (autobuilds, testSetRunner), so the Webdriver handles any timeouts.

@rev gtorres@
@bug W-2063103@
@P4CL:8596868@
Merging origin/tbliss/master-pending-js-test-timeout-fix into master