Fixed JS/jQuery mess. Now works in all browsers. Duh.