Rewrite atom-related fns in shin rather than js