added text box and new js