define module just in browser