update simpleview.js