Fixes #3 - Updated code to reflect changes made in iron-router