Added javascript to distinguish activated page.