gh-31 solved. Fixed missing document ready.