Tidying up to stop javascript errors