Fixed inheritance; added utils.js