fixed bug: scope.init method is still showing up in the client js file