creating new javascript file to be injected