Update common.js

change prompt to native ShowInputBox;
Merge pull request #31 from kaffa/patch-2

Update common.js