Added new JavaScript sample file for getBoundary