elastic on document.ready()