Delay the widget initialization

Many people like to place {{ form.media }} at the end of the page, in this case jQuery would not be loaded yet when the initialization runs (js_template). 

I'm not a javascript guy, perhaps there is a better way to delay the widget initialization, but this worked for me.