cleaned up javascript for album art view