Added graceful degradation for users without Javascript.