Yep, I remember being exactly like you and overthinking it! I'm hopeless with Javascript so when I realised how easy it actually was I couldn't believe it! Do check out the examples on their site of different addons as well - I often use their export & print buttons as they're so easy to implement as well.