normalize javascript file name