Added JS to display characters left