fixed rangy initializing issue in contenteditable div