so create a separate `.js` file? that's what I wanted to avoid doing