Note: this can only be run from a web server. If you have Python installed, you can start a quick one by running "python -m SimpleHTTPServer" and then going to http://localhost:8000/sampleApp.html.
python -m SimpleHTTPServer