Outputs javascript code using yii\web\View::registerJs()