Create a “Reuseable” Function in jQuery