Jawascript view 1