fixes all JSLint/HTML lint problems, validates code