created closure-tools npm package and used it to make travis tests pass