finished convertsion to durandal js
change ui structure