fix #133: use URIjs to generate permalink