add classes to html input tags; add content to main.js