added requirements for ajax