prevent double append for script.js