Revert "Switching from global function to Meteor property"

This reverts commit 0e7155a8382eb808e2a270e39ae8ca04d620e9ed.
Switching from global function to Meteor property