Javascript for Ember inactivity component