Moved skip nav function to javascript