src/Tomahawk/Asset/AssetManager.php
public function addJs($name, $source, $dependencies = [], $attributes = [])
    {
        return $this->container()->addJs($name, $source, $dependencies, $attributes);
    }
public function addJs($name, $source, $dependencies = [], $attributes = [])
    {
        return $this->container()->addJs($name, $source, $dependencies, $attributes);
    }
Add a JavaScript file to the registered assets.

@param  string           $name
@param  string           $source
@param  array            $dependencies
@param  array            $attributes
@return AssetContainer