fix undefined js_enabled on `iptest —all`