add js to prevent ajax calls from firing on every page
remove unused ajax calls