some JS manually added to test the default template