cleaned up JS and added comments. overriding native file picker styles with css