Working simplelayout js

- ohh I did a lot of things.