Replaces one poorly made .js script with two, somewhat better .cs scripts.