update js_fragments for library guides