Remove console.logs and fix the jquery shit