avoiding reference error when chrome is not available.
testing ajax request -> request data from app hosted on google app engine.

whitelisting the source to bypass cross domain request.
merging the changes from branch 'chrome_app' for the ajax calls.