Update script.js

Created function charPanel for storing controllers for characters list.