fixed RSPec issues, add :js=>true to spec_helper