added extra_js block that will be used by the new gallery layouting code