added few javascript function to manage the validation.
corrected the size of the title in post table