common attribute.js