Fixed Ben's bad javascript on the properties page.