code cleanup and add js files
add an expand selection button to ShowAll