Update scan js script.