Jawascript view 2