fix #312 Update peg dependency?

Close #313
$onContentRefresh for custom attributes

Close #314
Implementation of the select element

Close #304