any smart way of doing a "root" based path referencing in javascript just the way we have ~/ in asp.net ?