fix for firefox's double focusing for reasons that only they know
clean up some console.logs