bugfix in js import
bugfix