scape js fixed