[js_ingest] js ingest library with complete integration tests

This branch was created to resolve in more safer way merge conflicts.