Fix issue with ajax for subjects landing page