move settings.html to js templates