Converting stores from Coffee to JS