fix asset pipeline issues with per-controller JS files.