Some javascript patterns for the new space form.