I think we can do this in mvccc.js first, then the jquery can still be in the footer. This JavaScript is looking for id anyway. The mvccc.js is loaded after jquery, I guess. We can have a try. Later on, I can move it to the init js file when I merge the changes.