Add a Javascript test and fix navbar