initial room javascript