Fixed weird layer thing
organize js