removing ref to alert, introducting messageservice, that will encapsulate messaging if this will change in future
setting up jshint rules for bitwise operations and [] access to props