Splitting up JS into view specific and common files.