function customStart() { //define your javascript here //jquery is available - except index.js //you can load extra scripts with $.getScript http://api.jquery.com/jQuery.getScript/ chat.stickToScreen(true); }