change order of javascript import