Added jQuery click function to store rating in viewmodel