Removed more stuff to do with old click handling.
Change == to === for JS good practice.