reset width to 100%
Improved java script