Bug fix for DOM ready implementation. listener needs to be pushed before calling bindReady() because bindReady() might null-out listeners