fix issues: jQuery fn extend