js view updates