Update permalink.js