Check if fields for bibtex_js exist before running

This is a quickfix for the error that occurs when bibtex_js is run on a page that doesn't have a #bibtex_input and a #bibtex_display element.