modify points js