Html Input Type File Javascript Substring Last 4