require() anything into your front-end JavaScript