Reading up on some js guidelines.