Live preview

Added a submit button that uses js to update the preview page (modify
the tutorials on the fly, unsaved, to work out a problem)