fast,clean way to solve the device problem

adding the code here, just return once we found the iNZightTS is running accompany with shiny..
Also, this might lead to a problem that if someone machine has installed shiny package and width and height cannot be set...
A more robust way is find any function can know web-app(local or remote) is now running rather than just check whether shiny package is here.