updated to FFlock.js
minor tweaks and refactoring