Revert "move analytics to requirejs module"

This reverts commit 5491591be3b2ee470c89236106d191cd6aa8c092.