domReady plugin & other minor fixes