Add JS to the css-core-architecture

This this particular function declaration it might be better to name the function. 

```
function happy(){
  etc...
}
```
The reason is because down on line 18 you're calling the variable "happy" but that doesn't give you the flexibility to add parameters if you wanted them.