moved
added examples with jasmine and jshint