Fixed click event binding, added jquery to web_accessible_resources.