Extermination of JS_INIT

closes https://github.com/xtuple/xtuple/issues/1468