enable user to manually enter JS for scanning

This allows a user to manually input JS for scanning.