Update pageInit.js

added enter->submit, esc->cancel