modify generator to append js/css with correct path