update: batch script for CentOS and javascript.