clean up unused javascript