refactoring page parts form
fix form page classes
fix jshint complaints