Don't use a template on JS responses 

With the latest master, ruby 1.9, and rails 3.12.13 some of the JS responses would render inside of a template. This commit fixes that.