Fixed bug in newpageform.js and now pages get a title trail!