fix js image show bug