Little JS corrections