adding javascript effect on links