Add cordova scripts, and improve offline doc (#14131)

Change-Id: I4dbc5b4f2ef5516c8bb1f68a4fc028de963b37b0