made pathjs AMD/require compatible, updated min