Update display.js

增加图片预览功能中linux平台检测
Merge pull request #1 from sqbing/master

Update display.js for preview images in linux