Cleaned up JavaScript
Cleaned up whitespace in rendered HTML