JS cleanup and removal of console.log statements for production.