FIXED: Complete conversion of javascript to jQuery

Don't forget to return the object from the constructor!