secureroom.js cleanup