Basic working version for JS room only