Fixed JS, hopefully