gently renovating prince.js