cleaned up newchar.js; added tools.php; used a tool in newchar.php