Bug fixed on generating final javascript from part files