Cache jQuery object in achievementWidget

Even this is a sample app it could still benefit from caching of jQuery objects. It's also considered a best practice.