Replace hard-coded strings for window.env.t on js files

Goes with: [habitrpg-shared #129](https://github.com/HabitRPG/habitrpg-shared/pull/129)

(cc @paglias)