Let afterRender take function name arguement

Allows user to specify the function within the respective module.js that should fire after render.