Best Practices from LiveBeats App

Worth noting nested for loops and :reduce / :uniq options too

# psuedo, may be incorrect
for bar <- foo, bazz <- bar, !is_nil(bazz) && !is_nil(bar), reduce: [], uniq: true do
 acc -> acc ++ [bar + bazz]
end

execJS

This function executes rendered JS commands