Finish up facebook controller so it takes the badge object_id as a parameterand posts the right badge to facebook. Respond to an AJAX request by returning a js template.

Add a js template to close the achievement modal popup when the 'Share to Facebook' button is clicked.

Add an id to the achievement modal popup so it can be targeted by js.

References Coursemology/coursemology.org#100.