Added jquery-rails.
Adapted for page-specific javascript.