Only run namespace select js when needed

Only needed in admin/projects.

Same rationale as: https://github.com/gitlabhq/gitlabhq/pull/8123