wrong usage of outerHeight method

jQuery's outerHeight method accepts a boolean value, not a JSON object. So I've changed the {margins: true} to bool true.