Add js/ folder. Related: #767.