ES6ified the replace function
added license file
added read me
made the <p> cleaning optional