Remove unused JS.
JS cleanups.
Small flash changes.