Simplify method calls;
avoid behaviors if page-mod is mistakenly on a file (a
regex can't definitively determine whether it is a directory,
so we first assume it is isn't and then exclude);
jslint;
fix bookmark/history algorithm though
display is not yet working due to datalist limitations