using easelJS library now instead of pure js canvas code