modified Mobile_HTML5 pop()