removed jquery implementation