Form Not Functional in Firefox 37.0.2 for Mac(Javascript Issues)