Fixing Ace card functionality on bot php and javascript, making javascript print result in score div