Minor correction of .js

Correction for the display tab