fixed layouts by adding back js