product rating js updated