added register service javascript file