Fixed grade js + view. Has got a model bug