add yaml parse etc.
more require js fiddling