script.js: made something working with circles