Adding JS and client-side demo page