Improve initialization of ext.inputBox.js

Change-Id: I45b6a6106ece16f069907076a8f1f635d95fd2df