Remove extra $digest() call in header.js
Do not memorize yaml-js load calls

YAML-JS load calls when get memorized introduce some strange bugs
Also update versions of YAML processing libraries
Fixed #289