Move javascript init to layout