removed php backend file
updated data object
removed unnecessary demo code
cleaned up MainPage fcn
added WriteDataObject fcn and hook to call it from the js
removed template values
cleanup code
correctly posts to page "submit" which is handled by backend.py
added debug option to skip to test trials