javascript_api_spec: spec runs without reload