(#34) Refactored moderate.js to be cleaner and only match specific urls

r? @cvan