Fixed Pressing Enter Issue on Index.js