listed jQuery as a dependency for both JavaScripts