[javascript] How can I get the current directory name in Javascript?