clean up js files, get rid of unused lib