added support for console.info
main.js logs success/failure to the console
removed submit button from template