Create javascript file