fixed fake require in browser