Updated api url so it works on node 0.11