Update ga-event.js

Added strict comparison operators on typeof logic.