.imageSync() added, png-sync.js needs to be finished