Add format.js to pins controller