Updated JS (thanks to darwin)