fixed git ignore and javascirpt on layout