make the js unit tests work
Trying to fix acceptance tests