fixing js dictionary issue

fixing js dictionary issue