make changes to pointscreen javascript