Deleted jQuery. Moved method declarations inside constructor