Small JS script loader utility; allows client-side script substitution.