fixes for jquery. lol