Fixed OO syntax (try to remember - this is JS)