Fixed all jsHint errors

Signed-off-by: Alessandro D'Aquino (elara) <alex@midokura.com>