Moved webview to a file outsite index.xml.
Updated CSS for webview.
Added events to pass data from Titanium to the webview.