Add doctype to demo page
Change backend url from hardcoded localhost to window.location.hostname