fix bug https://github.com/rahmat-budiharso/javascript-view/issues/1