cleaning up module definitions, removing old browser global code