Adding Attributes.js to javascript classes.