Attempt to fix most of the obviously broken bits and outdated info.
reminify JS