Remove dependency on Simple JavaScript Inheritance in favour of a simpler implementation