Removing console logging from main javascript file