fix profiles and add more features
js clean-up and selection selector