Fix replacing of data-main tag for requirejs