fix for find free room, cause:change in jquery