another correction to entry.js