Update script.js

Added controll for setting section's background to selected character picture. Cleaned console.logs.