Fixed small Lines bug, Refactored JSMin algo to more closely match original