Namespaced routes and js.erb

Whenever I try and use a .js.erb view in my nested routes it tries to look for a layout(i.e. admin.js.erb). any ideas on how to stop this other than calling :layout => false?