Added standard error display function
Created the basic HTML elements
Added handling of buttons and the server-side JS functions.