update js for electronic resources