minor clean up of js