fixes for jquery