Documentation

documented script.js