Adaptation of the javascript module of keeganstreet (https://github.com/keeganstreet) to works with Prototype and script.aculo.us