Move RequireJS call into scripts partial