Cleaned up Js.