[Theia] Forget to set 'collection' in javascript code init()