updated with jsnbt changes
added layout meta in templates