Global weak solutions for the Novikov equation