Fixed a javascript error.

Signed-off-by: crynobone <crynobone@gmail.com>