I'll suggest you host it on Heroku, you can get free hosting if the usage isn't that high, just by confirming your payment method (far as I remember, no idea if they changed it).
Also, the problem of undefined still going with me.
Heroku? Haven't heard about that one. I will have a look into it.
Did you try to refresh with reloading everything, like with SHIFT+F5 or CTRL+F5. This usually clears the cache and reloads the javascript code from the server. Give it a try and let me know if it is still not working.
no go. still 'access denied'. although it does properly count income.
ps.
if you need hosting i might be able to help. pm me.