Removed event handling crappy methods & fixed polyfill bug in attributeChanged() callback: the newValue was always undefined