Fixed floor selection javascript.