oh! I got it. thanks Jay, your suggestion gave me the hint I needed to figure it out.
removing var did 1/2 the trick, the second 1/2 was me realizing that now I have module as object of the top document, so top.module.something1('hello'); works. yay! this drove me crazy last night!