refactor js layouts to minimize file loading
simple estate js file