sub module generator, compile errors
mostly jshint stuff