Split JS into separate files per view.