Reduced room.js code.
Closes #112 - Removed URI.js dependency.