Put core import at top of js script