Clean up js and remove console.logs