fix fireplace in jquery

Same as title