Real example of js code