fixing javascript errors after updating jquery ui and coffee script.