extracted JavaScript code into a separate package

added calculation of NDWI based on NDVI Tyler's example
added extraction of band time series and spectral curves for water at a number of locations