13cdad0 Polish the js code from last commit

Authored and Committed by jskladan 5 years ago
    Polish the js code from last commit
    
    Merges #11
    Fixes #4