split js models