Fix #219 again - detect Java module imports
Test JS compilation with Java imports