Added alternative way to run the "after-boot" script using var instead of tag attribute

It's usefull when script tag is created dynamically since data-after-boot
is not compatible with requirejs