Adding on attribute to paper-switch