rename 'singleton' to 'singleton.js'