detail.js bug