currently i'm trying to consume drupal service from phonegap and php file.I'm using drupal 7x with services 3.5.Right now login and logout works,but after logout,the page doesn't refresh as it should be.And it gives me this on firefox console :

Attachment 15851


Here are my codes :

index.php

login.js

dashboard.js

When i refresh the page,the GET Http: dissapears,does such behaviour is normal?How can i make it works as expected?Also what does Get localhost:81/drupal/testservice/js/dashboard.js?_= means ?Thanks.