js and views little fixes
Merge pull request #34 from snovichkov/master

js and views little fixes