Replace gen_model.js script tag position