cleaned things up with JSHint
fixed critical bug with copying content
Merge pull request #35 from ecaldwell/master

fixed critical bug with copying content