JS asset pipeline bug fix