fixed a mistake in script.js