Bug Fix for jQuery 1.10.X version