I think that you could also add these classes in the django forms themselves instead of through JS right? Using the form widget..
Also, the "list-unstyled" class I suppose you use to remove list-styles. But you could also just do .demo-form > div > form > ul { list-style: none } in your less files if I'm correct...