How To Import Javascript Into Another Javascript Substring Until Character