Moved text/javascript blocks to Layout Asset blocks