fixes back buttons and form page
Merge pull request #15 from jeffdavidthompson/workingJS

fixes back buttons and form page