move js for input file