api_generator_spec/js: fixed to run on latest RhoSimulator