Added fix for js rootpath