Fix about availability of `js_generator` in a state
JavascriptGenerator: get rid of `javascript_ prefix