Create formhelper.js

Helper file with the front end display js.