Remove majority of console logs from main javascript file