add singleton.js, modify a script src to 'singleton.js'