STTake a look at this video https://www.youtube.com/watch?v=m-NYyst_tiY - I pretty much follow this pattern for jquery development and it works for me - even for the simple sort of task you mention in your example.Comment·Thread·Jan 13, 2016·1·How do you structure your jQuery file?