Updated service provider
Added javascript helper