Removing unneeded require in translate js