A JavaScript URI template implementation (RFC 6570 compliant)