iit_stuart theme - adjust template function to add js to homepage pane