Added afterOpen()

I needed to run some image scaling js on the markup generated after build, so I added a method for it.

I think this is helpful for anyone using the plugin.