diff --git a/src/Codesleeve/AssetPipeline/Filters/JSTFilter.php b/src/Codesleeve/AssetPipeline/Filters/JSTFilter.php
index <HASH>..<HASH> 100644
--- a/src/Codesleeve/AssetPipeline/Filters/JSTFilter.php
+++ b/src/Codesleeve/AssetPipeline/Filters/JSTFilter.php
@@ -41,7 +41,9 @@ class JSTFilter implements FilterInterface
     {
     	$base = $asset->getSourceRoot();
 
-    	$file = pathinfo($asset->getSourcePath())['filename'];
+    	$file = pathinfo($asset->getSourcePath());
+        $file = $file['filename'];
+
         $file = str_replace('\\', '/', $file);
     	$path = '';
seperating 1 line into 2 lines for backwards compatibility (maybe...)