Fixed JavaScript file name extraction in case there are backslashes.