Cleaned up some leftovers and changed formatting for better consistency with the existing three.js codebase.