Javascript dependencies made easy