complete migrate to jquery settings

also migrated away from arrays to returning objects.