Not everyone probably likes the Prototype library which is included into Magento by default. Some users prefer to use a more popular tool – JQuery framework since it has pretty many ready-made add-ons and plugins.
Any js file can be included either with the help of config. files or using events. Using the event core_block_abstract_prepare_layout_before
we can include a library into the page directly before Magento js files. (more…)