Assets (js & css) manager using a priority queue