Learn JavaScript

#13 - Refactor code using module pattern