Refactor javascript, Add Character Info