Fixed js script for textarea