oh i test it now , the problem from XMLHttpRequest , it can't load any file from the hard disc (browser security) ,its normal. but it will work if you upload it to web host or compile it to android.
you will get unlimited web space and 999 mysql and c_panel. just choose free host and register and in seconds you will get your webhost for your games.