switched over to jquery