Used jQuery to populate the album view, and then reformatted the code in album.js to make it easier to maintain