Clean up comments and constant declarations in ffi.js.
Minor whitespace/formatting stuff in ffi.js.