making base work with jquery 1.9