How can I tell in JavaScript what path separator is used in the OS where the script is running?
Just use "/", it works on all OS's as far as I know.