Ran jsfmt, moved utils tests into .js file