Added documentation
addressed attributes issues
Simplified utilities.js