updated JS
Merge pull request #1 from nette/master

updated JS