create a javascript file