Update secureroom.js

code cleanup