Changes in jsquery to support more methods