added new jquery plugin and fixed button errors