Fixed js bug
Removed
Merge pull request #4 from Exorades/bug_1618

Fixed js bug