Js file creation to avoid asset precompiling error