Optimized _layouts. Merged most js libraries into one