Embed bemjson into onclick if 'js' attribute of block is true.