[refactor] reworte detail view: split grafics from logic (all with jquery), the main content work now