converted ptr from jquery and textarea to native and div