durandaljs with server side code