Bower file and callback fix

Hi,

We've recently discovered an issue when using the callback function on the "cancel" element, where it was impossible to determine which rating had changed.

This pull request fixes this issue, and also includes a bower.json file, which we use in our setup. The last patch in this pull request is a simple indentation fix.