fix some tests.
eliminate coffee script.