Hi @jsphbngrnd
Because LayTheme is written as a single-page Javascript application, some things work differently.
Here is the documentation :
http://laytheme.com/documentation.html#custom-javascript
Hope you find what you are looking for :)
Many wishes,
Audrey