2nd option - use button in js file, but using function literal

 - ok to use if it's the only button you're using to load content
 - otherwise, better to define your own function