<ninja> various syntax fixes spotted with some OUJS.org’s code display’s warnings (jshint maybe?)