updated todo
changed some action urls
bibtex features can be enabled/disable with plugin setting
removed unused functions
moved javascript to view location