Fixed typos, fixed decorate.js