cleaned up propertywindow.js