fixed jshint warnings:
  turned on laxbreak in .jshintrc

  added declaration about Case and escape being globals to helpers