Use AngularJS instead of plain jQuery.