updated demo files and moved sample javascript from index.html to js/main.js
updated /try route to handle HTML response properly