fixed ajax on puppetclass update, and some typos.