added module. to make it work in browser