remove css width
use javascript to dynamically set frame width