Updated script to use only the params array field rather than the chained string
refactored out suggestions related code (incomplete).
Now it lived in a half-done independent js file.