You could also try to run some javascript tests based on YAML cookbook for Ruby. All tests should pass. Those that don't are commented out; they deal with multiple YAML documents in one stream which is not supported by yaml.js (and Symfony)