attributes_fix

added scope to attributes.js, this is a requirement for new models implementation