Got rid of js_global_dict undefined index warning