Put appended/prepended JS/CSS in separate folders. Fixed test