add attribute definition for editor
move Fire.*etClassName to core.js