#8 moved javascript for CiteBox into separate file