Additional details
Encapsulate javascript functions