added document ready
Merge pull request #36 from arieldiamond/fix_heroku_loading

added document ready