Update JavaScript file