We don't seem to have tests for --js-library in core suite, so move other.test_js_libraries to the core test suite so that it gets tested in all modes.
Merge pull request #2412 from juj/test_js_libraries_in_core

Test js libraries in core