Refactored jaguarDb to use a more idiomatic JavaScript way of defining the class structure