fix for js error if user doesn't pass in any option, added example for animating the value for a button element