execute page-specific javascript code