prevent elements that have javascript effect