Set Value Input File Javascript Substring Index