The client side script intialization being tied into the naming of the pagelet is a destructive pattern. Consider using the same pagelet two times, but with template content that is slightly different, hence you extend either of the two and choose a unique name. However that also means you now have to rewrite the client script, cumbersome.