How to get the file name from a full path using JavaScript?

Published --