main.js: normalize indentation + remove debug prints.