Browserify help

Ok, so i want to interact with my db package using require, but browsers dont have require. i tried using browserify middleware according to the example on glitch but, my project somehow doesnt accept it. https://glitch.com/edit/#!/usagix
ignore the bot stuff