module solution for browser