JavaScriptTemplates - trimpath - Google Code - http://code.google.com/p/trimpath/wiki/JavaScriptTemplates