fix for navigation attribute being interpreted as a string by JS