Fix snazzy-select so it works in advanced mode
Refactor snazzy select, html generated by server.