Fixed JSHint errors.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>