How to transfer openbullet variables to javascript