Fixed JS scripts.