Adding singleton
Update singleton.js
Adding bad singleton