Fix for single.js