Removed jumpy effect.
Shortened JavaScript.