moved js exercise dependencies to exercise directory