Use requirejs, add hypothetical room support