cleaned up test sloppiness, and almost done implementing javascript difference