Functional JavaScript personal study