fixes a critical JS codegen bug which caused 'importcpp' statements not to be emitted
fixes a critical JS codegen bug which caused 'importcpp' statements not to be emitted

singularperturbation/Nim,dom96/Nim,mbaulch/Nim,dom96/Nim,singularperturbation/Nim,haiodo/Nim,russpowers/Nim,tulayang/Nim,tulayang/Nim,jfhg/Nim,tulayang/Nim,mbaulch/Nim,jfhg/Nim,singularperturbation/Nim,mbaulch/Nim,haiodo/Nim,jfhg/Nim,russpowers/Nim,jfhg/Nim,tulayang/Nim,haiodo/Nim,russpowers/Nim,mbaulch/Nim,singularperturbation/Nim,russpowers/Nim,mbaulch/Nim,singularperturbation/Nim,jfhg/Nim,singularperturbation/Nim,russpowers/Nim,tulayang/Nim,dom96/Nim,russpowers/Nim,dom96/Nim,mbaulch/Nim,dom96/Nim,haiodo/Nim,dom96/Nim,tulayang/Nim,mbaulch/Nim,haiodo/Nim,haiodo/Nim,singularperturbation/Nim,haiodo/Nim,jfhg/Nim,russpowers/Nim,dom96/Nim,jfhg/Nim