Fixd javascript import issue