Moved init.js to init.jsp and added a controller so that certain path components can be passed dynamically.  Added RESTWS module requirement to config.xml