Added chrome jQuery compatability