Example of js code