Jquery
Refactored