removed javascript calls in erb pages