HTML5 lotto and casino games for regulated markets