Using `beforeRender` instead of initialize
Merge pull request #1 from SBoudrias/patch-1

Using `beforeRender` instead of initialize