Update script.js

Character list controllers stored in charPanel function.