(function(env) {
    "use strict";
    env.ddg_spice_bible = function(api_result) {

        // Validity check
        if (!api_result || !api_result.length){
            return Spice.failed('bible');
        }

        var result = api_result[0],
            source_url = "https://net.bible.org/#!bible/" + DDG.get_query();

        Spice.add({
            id: 'bible',
            name: 'Answer',
            data: result,
            meta: {
                sourceName: 'Bible',
                sourceUrl: source_url,
                sourceIconUrl: 'http://bible.org/sites/bible.org/files/borg6_favicon.ico'
            },
            templates: {
                group: 'text',
                options: {
                    content: Spice.bible.content,
                    moreAt: true
                }
            },
            normalize: function(item){
                // text come with a link at the end that needs to be removed
                var text = $('<span />').html(item.text).text(),
                    text = DDG.strip_html(text).replace('©NET', '').replace('“', '').replace('”', '');

                return {
                    title: item.bookname + ' ' + item.chapter + ':' + item.verse,
                    subtitle: (item.title) ? item.title : '',
                    text: text
                };
            }
        });
    }
}(this));

@@ -1023,90 +1023,317 @@
     
-text = DDG.strip_html(text).replace('%C2%A9NET', '').replace('%E2%80%9C', '').replace('%E2%80%9D', '');
+subtitle = (item.title) ? $('%3Cspan /%3E').html(item.title).text() : '',%0A                    text = DDG.strip_html(text).replace('%C2%A9NET', '').replace(/(%E2%80%9C%7C%E2%80%9D)/g, '').replace('%5B%5BEMPTY%5D%5D', '').replace(/%5E%5Cs+%7C%5Cs+$/g, '');%0A%0A                if (!text) %7B%0A                    return Spice.failed('bible');%0A                %7D
 %0A%0A  
@@ -1471,38 +1471,16 @@
 le: 
-(item.title) ? item.title : ''
+subtitle
 ,%0A  

bible - failing if text is empty