Added polylineToBBox script and usage example in html file