refactor Library View

use Backbone.View