add an ability to set variable attributes to script tag

add an ability to set variable attributes, because I want to use 'data-main' attribute for requrejs