A simple javascript inheritance super class