updating to work with jquery.hx v1