score rules js spinner fix