fix js requires
fixes to js test suite