more cleanup - removed obsolete code from js, css, simplyfy templates