you are in a GQuery plugin so use GQuery :)
```java
Widget widget = options.getWidget();
String oldDisplay = $(widget).css("display");
```