layout created, begging js