Fixed javascript by updating copy of jquery.