Closed #185 Remove layout when using ajax requests