bug fix (at least in firefox on ubuntu): when loaded from the treeview or synthview controllers

In these views, "pageUsesHistory" is not defined. So this commit checks for the
existence of that global before the boolean coercion.