js for character countdown on micropost creation