reworked javascript asset pipeline