Experiment with a ready event which emulates firing an event before the element is added to the dom.