fixed bug with roomvars.js template