Add extra_js block in readable's base template for gallery pages