Split up html demo and server side demo.

I split up demos so that the stand alone html demo still works and there
is a server side demo (php/mysql).