closed #2801: Sync the APIs of HTML5 to the JSB (01)