Support inline examples & fix diffrent structure errors

@tormozz48 
you'll need to wrap it into `function()` after `bem-xjst` update