javascript_bug fixed