some slug prefill logic (bug 1041722)

Prefill based on placeholders. Regression chances are aggressively high.
this var isn't used in this scope, we can just do ```var slugified = $...``` in the if statement below