Did you follow all of the instructions?
/* In some configurations, you must add "lib" to path*/
/* "icobase" : "../../lib/plugins/divalign2/images"}; */
In addition, you should probably remove /divalign2/action.php, which duplicates the picker toolbar item with the same problems as the original script.js
Make sure you clear the cache both of your browser and dokuwiki.