added jaascript fix for jquery