Upgrade slate to .js config.