Update engine.js

what about prepareInstance instead of Object.create? Feel free to ignore :)