added js and started layout