Removed duplicate code in bleachwave.js and cleaned up formatting.