input ready for js