functions added for sub ie9 compat
conditional js loading for work post type pages