clean up nasty frontend js files