jshint exception for tests
develop mode
generate id on event