Limit points to 1-5 on the JS code.