Adding dependency for JavaScript files