fixed default and js-singleton-methods