Found the solution thanx to anata
So, in order to connect to the api, we need to manually add under the 'HEAD' line in the index.html :
<script src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
It will load the api as the plugin doesn't do it by itself. (I don't know why)
Hope that helps other people!