register options on didInsertElement