Moved containers-view related js code to separate file