add to js for electronic resources online