added javascript to hide loading sign