Fix javascript import