checking how it goes defining dispatcher on javascript initializer both for local and ENV machines