Optimize setCachepath() function
Fixed Missed html end tags on demopage