added dynamic onclick functions for each star