documentation, optimisation, extended jshint