script loader module for webpack