Fix all JavaScript issues.
Remove old script file.