fix doc complete bug, setTimeout function param

minor bug fix: fixed chrome ebdocumentcomplete check, app use to catche
complete once on FF, IE due to nature single nature instance