add rating works with dummy stars value, unable to pass Javascript var to $_SESSION