fix mobile safari alert issues (fix #850)

 Author:    teragoon <teragoon@naver.com>