Cleaned js test up a bit.