copy of syndex.js

copy of syndex.js for testing and tweaking