quick fix to the sub nav javascript