jscs work

got a bunch of js files passing jscs. Still another few thousand to go...