moved require configuration into hml layout to avoid race condition when somethig is required before requirejs is  loaded
made reviews working