added basic jquery functionality