Fixed some bug, restored annotator-digipal.js as main script