some changes in points and js