fixed the warnings from jshint - see for_angular-ui_v2 tag in https://github.com/Hill30/NGScroller