clarified the 2 JS versions