Made JS path not relative to root