New snippet - JS module pattern