pass ActiveClass into settings
beautify js