working with jquery datatypes