fixed a small, but critical issue at the JS version (input not working)