That would be javascript and, as far as I'm aware, security would normally prevent javascript from pulling such information from the file system.
Since it's Javascript, you'd probably get more accurate answers from a Javascript forum.