fixed js code added collision for tank