Talking about Game development, HTML5, Javascript and Monetize.
Did you hear about Gamedistribution.com? According to the official website, it’s the biggest broker of high quality, cross-platform games and connects the best game developers to the biggest publishers.

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body{
background: #000000;
padding:0px;
margin:0px;
}
</style>
<script src="phaser.min.js"></script>
<script src = "game.js"></script>
<script>
var initialized = false;
function initGDApi(){
if(!initialized){
var settings = {
gameId: "xxxxxxxxxxxxxxxxxxxxxxxx",
userId: "yyyyyyyyyyyyyyyyyyyyyyyy",
resumeGame: resumeGame,
pauseGame: pauseGame,
onInit: function (data) {
initialized = true;
},
onError: function (data) {
console.log("Error:"+data);
}
};
(function(i,s,o,g,r,a,m){
i['GameDistribution']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)};i[r].l=1*new Date();a=s.createElement(o);m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a, m);
})(window, document, 'script', '//html5.api.gamedistribution.com/libs/gd/api.js', 'gdApi');
gdApi(settings);
function resumeGame() {
console.log("Resume game");
}
function pauseGame() {
console.log("Pause game");
}
}
}
initGDApi();
</script>
</head>
<body>
</body>
</html>

Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.