var path = require('path');

var x = path.normalize('Users/Refsnes/../Jackson');

console.log(x);

              

Users\Jackson