Fixed bug causing slug to mutate input. Still optimized.
Merge pull request #18 from luiscvega/master

Fixed bug causing slug to mutate input. Still optimized.