Proper handling of windows path separators in plugin js gets