[QUOTE=Kyatric] [QUOTE=mrsponkie]by the way i would like to generate a embed code for other sites that would place my game in their website, is it possible?[/QUOTE]
Mostly because of cross-domain, I'd say it is not.
You can always try to link to the JS from another website, but I'm pretty sure it will fail when trying to load/reach for the game's assets.
Make your game use 'fullscreen in browser' and upload it to your server somewhere.
Then, on a different website, use an iframe of the game's intended size, and set the iframe URL to the game's URL. The game should fill the entire iframe with no annoying scrollbars.
Finally, it's secure because browser cross-domain security limitations prevent the game accessing the page that is containing it.
I haven't tried that myself but it ought to work!