jquery: attr -> prop, fixes #314
REX_MEDIA_BUTTON -> REX_MEDIA_WIDGET etc.