fix loading of js unit tests