fixing up require stuff for jquery