Removed 'sync' JS functions. Reformatted code.
Removed 'sync' JS functions. Reformatted code.

kbase/typecomp,olsonanl/typecomp,kbase/typecomp,olsonanl/typecomp,olsonanl/typecomp,olsonanl/typecomp,kbase/typecomp