added rails.js for ajax