support jQuery 1.11+