apply page work applied to enquiries page - with js