A few changes for serverside framework integration and a usability fix

Usability fix: removed cursor:pointer from div, added it to star images.
This prevents "false clicks" where the user hovers their mouse in between a star image and clicks, but nothing happens.

Framework integration changes make javascript form validation easier in serverside frameworks which should only be aware of the input field, not the generated div.