removed globals, all functions can be edited and changed within the html files that formjs is called from. Also fixed minimum and maximums on number fields