Adding friendly behavior for browsers without JavaScript