Adding custom attribute support

remove console.log?