Use userale.js and userale-worker.js
update: 2015-04-17 by David Reed