fixing JS syntax
turning on Maximize button