improve input.js
Merge branch 'master' of github.com:warycat/SuperSeaLion