fixed bug with display width of no js view