Adding layout e js structure