improve style of file label
remove some obsolete commented code
utilise bootstrap style buttons instead of jquery ui buttons