moving javascript bits around