make route checking on pageload configurable

@redonkulus

cc: @koulmomo