Simplified js a little - Fixes #59