I don’t understand the scoring, but it just worked for me (on Firefox/Icecat).
Could be useful to have a tutorial mode where Mahjong tiles (and hands) introduced level by level. Learning would then include understanding the scoring after a few levels.