fixed bitcoin AJAX updation, fixes #2731

fixes #2731