Refactored browser demos into modules.
Refactored directory structure for demos into browser and nodejs directories.