Markup and JavaScript fixes for backends page selector.