Bug fix

Error found in srcore.js: drawImage method not load image.