update js, change stray spaces to tabs, add minified version