moving js so that it actually deosnt kill itelf
added in our mission  from erika