jsbeautified file

from the original js file on http://www.berriart.com/sidr/ (because that one actually works)