Clean up of unused javascript