Added expiration properties and jQuery UI integration