specified that javascript only run on specific page loads