Fixed javascript error when no availability is available