AJAX not Working in Production

I'm having an issue in my Prod environment where some sets of Ajax code
are not working correctly

Going to http://www.jbcmanagement.com/test_case/new# and clicking Add a
Step executes the following code:

<p><%= link_to_function "Add a Step" do |page|
page.insert_html :bottom, :chaka, :partial => 'test_script', :object =>
TestScript.new
end%><p>

In my development environment, this code works correctly, it adds an
additional data entry line for an additional test step on the page.
In production I am not getting any action.

The only indication I see of an error is in my production.log :

ActionController::RoutingError (No route matches
"/javascripts/effects.js" with {:method=>:get}):

effects.js exists in my Project/public/javascripts folder.

Here is my routes.rb

map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'

Sounds like apache or nginx or whatever your frontend is isn't serving
your javascript files correctly

Fred

That's weird because if you debug it with Firebug you can see how
effects.js is loaded.

That's weird because if you debug it with Firebug you can see how
effects.js is loaded.

But if you go to http://www.jbcmanagement.com/javascripts/prototype.js
then you get an error page instead of the javascript. Your ajax ain't
going to work without that.

Fred