add flag to pages for autoload javascript helper.