incorrect import of javascript file