readyjs

A tiny, modern, on-document-ready that runs any given function(s) once the document is ready or immediately if the document is ready already.