fixing js error in case the file name is a number