this won't work if newscoop is inside folder. you can use:
```php
src="<?php echo $GLOBALS['controller']->view->baseUrl('/js/...'); ?>"
```