Update import.js

Regex on $ e.g. src = src.replace(importReg[i]+';',isrc).replace(importReg[i],isrc); is causing unexpected results