put the getaddress functions in the window scope
Merge pull request #51 from madepeople/hotfix_checkout_function_scope

put the getaddress functions in the window scope