make tests actually run
Merge pull request #12 from ivanov/js-test-refact

make tests actually run