Update common.js

change prompt to native ShowInputBox;