rename migrate -> sync

closes #3
reformat js
upgrade to 1.1.3