add endsql tag for close sql statements, add test.js, add process for client program use