get question before page comletely loaded