Fixed a dumb JS problem