assign exported lib object to globals, not window
refactor util to browserUtil;