Fixed more JS badness.