fixed javascript error

Change-Id: I9260c1edfd9e4afe0aa286673125af395d5a81bb