Added jQuery Deffered ability