Settings tab js - fixes #68