Package builder for javascript components based on php