Body state determination and F5 JavaScripts