fixed indentation per jslint
applying rest of jslint recommendations
added meaningful variable names
making the form report prettier