Change the way to solve the JS dependencies #13