When trying to use JavaScript in my app I am getting these following errors from Chrome:
Uncaught SyntaxError: Unexpected token )
_I-bZ2aLo8f.js:48
Unsafe JavaScript attempt to access frame with URL http://apps.facebook.com/ubo-elementalfury/ from frame with URL https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=17#channel=f2f2ee12fc&origin=http%3A%2F%2Fultimate-battle-online.com&channel_path=%2Fchannel.php%3Ffb_xd_fragment%23xd_sig%3Df3312304ec%26. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
xd_arbiter.php:20
I am not sure what is going on, I don't get this issue when browsing it from a secure Facebook connection.