fixed debug issue (self/this related)

quick fix for the current vector.js on feature/svg