change the way to import js