move raised to separate js