Update emperor.js for all examples