added super tiny res and firefox support