local JS to WebJars, session checking