Cleanup powerEntry.js a smidge